<div id="containerItems">
	<?php
		if (isset($_SERVER['HTTP_USER_AGENT']) && $server->bot_detect($_SERVER['HTTP_USER_AGENT'])) {
			include($server->get_path_name('shop_items.php'));
		}
	?>
</div>
<script type="text/javascript">
	var categoryId=null;
	var catalogPointer=myCatalog;
	catalogPointer=catalogPointer.moveToChildren("selected");
	if (catalogPointer.myCategory.selected) {
		catalogPointer=catalogPointer.moveToChildren("selected");
	}
	
	if (catalogPointer.items.length) {
		//They are already loaded
		catalogPointer.refreshItemsListView("containerItems");
	}
	else {
		var shopContentHref="?section=shop_items&category_id=" + catalogPointer.myCategory.id;
		setViewTo( shopContentHref ,'rightContentBox:containerProducts:containerItems');
	}
</script>